from PIL import Image
import pytesseract
 
if __name__ == '__main__':
    img = Image.open("D:\\picture\\p1.jpg")
    identifyCode = pytesseract.image_to_string((img), lang='eng')
    print(identifyCode)
